﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WebUtility
{
    public class Column  
    {

        public Column()
        {
            Sortable = true;
            IsAsc = true;
            Attributes = new Dictionary<string, string>();
            RecordFieldClass = new Dictionary<string, string>();
            ColType = ColumnType.DEFAULT;
        }

        public string PropertyName { get; set; }
        public string HeaderText { get; set; }
        public bool IsAsc { get; set; }
        public bool Sortable { get; set; }
        public ColumnType ColType { get; set; }
        public string ClientID { get; set; }
        public Dictionary<string,string> Attributes { get; set; }
        public Dictionary<string,string> RecordFieldClass { get; set; }
    }

    public class ActionColumn : Column
    {
        #region constructors
        public ActionColumn(ColumnType colType)
        {
            ColType = colType;
            
        }

        
        #endregion
    }
}
